package com.yy.chapter8.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangyao
 * @Description: IndexController
 * @date 2018/10/24 13:57
 */
@RestController
public class IndexController {

    @GetMapping(value = "/test")
    public String test(@RequestParam("test1") String test1, @RequestParam("test2")String test2){
        //测试分支信息dfgdfgfg
        return test1+test2;
    }
}
